package com.css.zfzx.fwsjcj.modules.structure.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigInteger;

/**
 * @author DBJ
 */
@Data
public class ExportForBuildingWithTaskVo implements  IExcelDataModel, IExcelModel {
    /**
     省级名称
     */
    @NotNull(message = "缺失")
    @Excel(name = "省", orderNum = "1", width = 15)
    private String belongtoProvince;
    /**
    每个省登记房屋的栋数
     */
    private BigInteger number;
    /**
     * 建筑类型
     */
    private String structurType;
    @NotNull(message = "缺失")
    @Excel(name = "任务", orderNum = "2", width = 15,height = 10)
    private String taskName;;
    @NotNull(message = "缺失")
    @Excel(name = "砖混结构", orderNum = "2", width = 15)
    private BigInteger brickCount=new BigInteger("0") ;;
    @NotNull(message = "缺失")
    @Excel(name = "砖木结构", orderNum = "2", width = 15)
    private BigInteger brickwoodCount=new BigInteger("0") ;;
    @NotNull(message = "缺失")
    @Excel(name = "多层钢筋混凝土结构", orderNum = "2", width = 15)
    private BigInteger mulConcreteCount=new BigInteger("0") ;;
    @NotNull(message = "缺失")
    @Excel(name = "高层结构", orderNum = "2", width = 15)
    private BigInteger highCount=new BigInteger("0") ;;
    @NotNull(message = "缺失")
    @Excel(name = "工业厂房结构", orderNum = "2", width = 15)
    private BigInteger factoryCount=new BigInteger("0") ;;
    @NotNull(message = "缺失")
    @Excel(name = "空旷结构", orderNum = "2", width = 15)
    private BigInteger wideCount=new BigInteger("0") ;;
    @NotNull(message = "缺失")
    @Excel(name = "土木结构", orderNum = "2", width = 15)
    private BigInteger buildingCount=new BigInteger("0") ;;
    @NotNull(message = "缺失")
    @Excel(name = "木结构", orderNum = "2", width = 15)
    private BigInteger woodCount=new BigInteger("0") ;;
    @NotNull(message = "缺失")
    @Excel(name = "石结构", orderNum = "2", width = 15)
    private BigInteger stoneCount=new BigInteger("0") ;
    @NotNull(message = "缺失")
    @Excel(name = "其他结构", orderNum = "2", width = 15)
    private BigInteger otherCount=new BigInteger("0") ;;
    @NotNull(message = "缺失")
    @Excel(name = "合计", orderNum = "2", width = 15)
    private int sumCount;
    private Integer rowNum;
    private String errorMsg;
}
